package com.f.repository;

import com.f.bean.Emp;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

public interface EmpRepository extends ElasticsearchRepository<Emp,Integer> {
    List<Emp> findByEmpName(String empName);
}
